﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Copa_do_Mundo_2014
{
    public partial class Aviso : Form
    {
        Editar editar;
        public Aviso(Editar editar)
        {
            InitializeComponent();
            this.editar = editar;
        }

        private void btnnao_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

        private void btnsim_Click(object sender, EventArgs e)
        {
            editar.remover();
            this.Hide();

        }
        private void Aviso_FormClosing(object sender, FormClosingEventArgs e)
        {
            Application.Exit();
        }

        private void Aviso_Load(object sender, EventArgs e)
        {

        }
    }
}
